// Fork a binary tree of processes and display their structure.

#include <inc/lib.h>

int g_count = 10;

void
umain(void)
{
        if (fork() == 0) {
                g_count += 100;
        } else {
                g_count += 20;
        }
        cprintf("g_count=%d\n", g_count);
}

